const Electron = require('electron');
const { app, BrowserWindow } = Electron;
let index = require('./index.js');


app.on('ready', () => {
    index.initMain();
    index.createMainWindow();
});
app.on('window-all-closed', function () {
    app.quit();
});